<%@ Page language="c#" Codebehind="List.aspx.cs" AutoEventWireup="True" Inherits="PPAP.Web.DictionaryManage.List" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>List</title>
		<meta name="GENERATOR" Content="Microsoft Visual Studio .NET 7.1">
		<meta name="CODE_LANGUAGE" Content="C#">
		<meta name="vs_defaultClientScript" content="JavaScript">
		<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
	</HEAD>
	<body  style="font-family: Arial, Helvetica, sans-serif;" >
		<form id="Form1" method="post" runat="server">
			<table width="100%">
				<tr>
					<td align=right>
						<asp:HyperLink ID="hlAddFolder" Runat="server" Visible="false">Add directory</asp:HyperLink>
						<asp:HyperLink ID="hlAddItem" Runat="server" Visible="false">Add data</asp:HyperLink>
                        <input type="button" class="button" runat="server" id="add1" value="Add directory" style=" width:100px;" />
                        <input type="button" class="button" runat="server" id="add2" value="Add data" onclick="javascript:window" style=" width:100px;" />
						
					</td>
				</tr>
			</table>
			<asp:DataGrid id="dgList" OnLoad="dgLoad" runat="server" AutoGenerateColumns=False>
				<Columns>
				
					<asp:TemplateColumn HeaderText="No.">
					<ItemTemplate>
					<%# Eval("rownum") %>
					</ItemTemplate>
					<ItemStyle HorizontalAlign="Left"></ItemStyle>
					</asp:TemplateColumn>
					
					<asp:TemplateColumn HeaderText="type">
					<ItemTemplate>
					<%# Eval("type") %>
					</ItemTemplate>
					<ItemStyle HorizontalAlign="Left"></ItemStyle>
					</asp:TemplateColumn>
					
					
					<asp:HyperLinkColumn DataNavigateUrlField="ID" DataNavigateUrlFormatString="List.aspx?ID={0}" DataTextField="Name"
						HeaderText="Name">
						<ItemStyle HorizontalAlign="Left"></ItemStyle>
					</asp:HyperLinkColumn>
					
					
					<asp:HyperLinkColumn DataNavigateUrlField="ID" DataNavigateUrlFormatString="Entrys.aspx?ID={0}" Text="<img src='../images/newimg/write.png' border=0>"
						HeaderText="Edit">
						<ItemStyle HorizontalAlign="Left"></ItemStyle>
					</asp:HyperLinkColumn>
					
					
				</Columns>
			</asp:DataGrid>
		</form>
	</body>
</HTML>
